<c:if test="${loanRequest.phase!='draft' and loanRequest.phase!='dealer_submit' and loanRequest.phase!='ca_audit' and loanRequest.phase!='cc_audit' and loanRequest.phase!='sca_audit' and loanRequest.phase!='qualification_audit'}">
<div class="box box-primary">
    <div class="box-header">
        <h3 class="box-title"><fmt:message key="loanRequest.vehicleAndInsurenceDetail"/></h3>
    </div>
    <!-- /.box-header -->

    <div class="box-body">
        <div class="form">
            <div class="form-horizontal margin">
                <div class="form-group">
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.vehicleManufactureDate"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control datepicker2" path="vehicleManufactureDate" disabled="${!editVehicleDetail}"
                                    id="vehicleManufactureDate"
                                    maxlength="255"/>
                    </div>
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.vehiclePurchaseDate"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control datepicker2" path="vehiclePurchaseDate" disabled="${!editVehicleDetail}"
                                    id="vehiclePurchaseDate"
                                    maxlength="255"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.frameNo"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control" path="frameNo"
                                    id="frameNo" disabled="${!editVehicleDetail}"
                                    maxlength="255"/>
                    </div>
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.engineNumber"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control" path="engineNumber"
                                    id="engineNumber" disabled="${!editVehicleDetail}"
                                    maxlength="255"/>
                    </div>
                </div>
            <hr/>
                <div class="form-group">
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.insuranceName"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control" path="insuranceName" disabled="${!editVehicleDetail}"
                                    id="insuranceName"
                                    maxlength="255"/>
                    </div>
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.premiumAmount"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control" path="premiumAmount"
                                    id="premiumAmount" disabled="${!editVehicleDetail}"
                                    maxlength="255"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.insureStartDate"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control datepicker2" path="insureStartDate"
                                    id="insureStartDate" disabled="${!editVehicleDetail}"
                                    maxlength="255"/>
                    </div>
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.insuranceAmount"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control" path="insuranceAmount"
                                    id="insuranceAmount" disabled="${!editVehicleDetail}"
                                    maxlength="255"/>
                            <%--<p class="help-block"><fmt:message key="insuranceAmount.desc"/></p>--%>
                    </div>

                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.insureEndDate"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control datepicker2" path="insureEndDate"
                                    id="insureEndDate" disabled="${!editVehicleDetail}"
                                    maxlength="255"/>
                    </div>
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.insuranceCoverNo"/> </label>
                    <%--<spring:bind path="loanRequest.vehicleManufactureDate">--%>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                        <%--</spring:bind>--%>
                        <form:input cssClass="form-control" path="insuranceCoverNo"
                                    id="insuranceCoverNo" disabled="${!editVehicleDetail}"
                                    maxlength="255"/>
                    </div>
                    <p class="help-block"><fmt:message key="premiumAmount.desc"/><fmt:message key="insuranceAmount.desc"/></p>
                </div>
                <hr/>
                <div class="form-group">
                    <label class="control-label col-sm-2">*<fmt:message key="loanRequest.invoiceUnit"/> </label>
                    <div class="col-sm-4${(not empty status.errorMessage) ? ' has-error' : ''}">
                                <form:input cssClass="form-control" path="invoiceUnit"
                                            id="invoiceUnit" disabled="${!editVehicleDetail}"
                                            maxlength="255"/>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
</c:if>